package com.bestv.search.common.model;

import java.util.Date;

public class TopNCache implements java.io.Serializable {

    private static final long serialVersionUID = 4450635956423091953L;

    private String id;
    private String type;
    private String subType;
    private String customCategory;
    private Integer rankNo;
    private String name;
    private String code;
    private String category;
    private Integer infoFlag;
    private Integer thisCount;
    private Integer lastRankNo;
    private Integer lastCount;
    private Integer increaseNo;
    private Date updateTime;

    // used to sort when merging
    private double score;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCustomCategory() {
        return customCategory;
    }

    public void setCustomCategory(String customCategory) {
        this.customCategory = customCategory;
    }

    public String getSubType() {
        return subType;
    }

    public void setSubType(String subType) {
        this.subType = subType;
    }

    public Integer getRankNo() {
        return rankNo;
    }

    public void setRankNo(Integer rankNo) {
        this.rankNo = rankNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Integer getInfoFlag() {
        return infoFlag;
    }

    public void setInfoFlag(Integer infoFlag) {
        this.infoFlag = infoFlag;
    }

    public Integer getThisCount() {
        return thisCount;
    }

    public void setThisCount(Integer thisCount) {
        this.thisCount = thisCount;
    }

    public Integer getLastRankNo() {
        return lastRankNo;
    }

    public void setLastRankNo(Integer lastRankNo) {
        this.lastRankNo = lastRankNo;
    }

    public Integer getLastCount() {
        return lastCount;
    }

    public void setLastCount(Integer lastCount) {
        this.lastCount = lastCount;
    }

    public Integer getIncreaseNo() {
        return increaseNo;
    }

    public void setIncreaseNo(Integer increaseNo) {
        this.increaseNo = increaseNo;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
}
